package com.cc.mapper;

import com.cc.entity.EOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EOrderMapper {
    /**
     *作用：分页查询新闻表
     *参数page:页数
     *参数paeSize:每页条数
     *导包：alt+Enter
     */

    public List<EOrder> listByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
    public EOrder selectById(@Param("eoId") Integer eoId);
    /* 更新操作*/
    public int updateByPrimaryKey(EOrder eOrder);
    /* 添加操作*/
   // public int save(EOrder eOrder);
    /* 删除操作*/
   public int delete(Integer eoId);

   public int total();

   public List<EOrder> select(EOrder eOrder);
}
